package org.github.choviwu.example.common.token;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * Created by ChoviWu on 2018/05/07
 * Description:
 */
public class MyUsernamePasswordToken extends UsernamePasswordToken {


    private Integer userType;

    public MyUsernamePasswordToken(String username, String password, Integer userType){
        super(username,password,true);
        this.userType = userType;
    }

    public Integer getUserType() {
        return userType;
    }

}
